package com.zhang.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;


/**
 * @program: xinguan-parent
 * @description: User实体类的视图类
 * @author: Mr.Zhang
 * @create: 2022-03-04 10:23
 **/
@Data
public class UserVO {

    @ExcelProperty(value = "用户ID")
    @ApiModelProperty("用户ID")
    private Long id;

    @ExcelProperty(value = "用户名")
    @ApiModelProperty("用户名")
    private String username;

    @ExcelProperty(value = "昵称")
    @ApiModelProperty("昵称")
    private String nickname;

    @ExcelProperty(value = "邮箱")
    @ApiModelProperty("邮箱")
    private String email;

    @ExcelProperty(value = "联系电话")
    @ApiModelProperty("联系电话")
    private String phoneNumber;

    @ExcelProperty(value = "状态 0锁定 1有效")
    @ApiModelProperty("状态 0锁定 1有效")
    private Integer status;

    @ExcelProperty(value = "性别 0男 1女 2保密")
    @ApiModelProperty("性别 0男 1女 2保密")
    private Integer sex;

    @ExcelProperty(value = "生日")
    @ApiModelProperty("生日")
    private LocalDate birth;

    @ExcelProperty(value = "部门id")
    @ApiModelProperty("部门id")
    private Long departmentId;

    @ExcelProperty(value = "部门名称")
    @ApiModelProperty("部门名称")
    private String departmentName;

}
